<template>
  <div class="out_wrap">
    <div
      class="inner_wrap"
      :style="{
        width: value + '%',
      }"
    ></div>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  value: {
    type: Number,
    default: 0,
  },
});
</script>

<style lang="scss" scoped>
.out_wrap {
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #ededed;
}
.inner_wrap {
  transition: all 0.3s;
  height: 100%;
  background: #3ac9b0;
}
</style>
